<?php 

class Model_EventNew extends Model{

	function __construct(){
		
	}

	function getList(){	
		$param = array();
		$param['field'] = "id,title,body,url,photo_image1 as photo,status,event_type";
		$param['where'] = "status=1";
		$param['order'] = "id desc";
		$param['join'] = "";
		$param['on'] = "";
		$data = db_query_one('hilite_index_event',$param);
		$datas = !empty($data['result']) ? $data['result'] : array();
		return $datas;
	}
}
?>